/*
 * @ Created with Clion
 * @ Author Morbid
 * @ Date 2022/07/25
 * @ Time 10:52
 */

#include <cstdio>
#include "SqStack.h"

int main() {
    SqStack S;
    InitStack(S);
    Push(S, 1);
    Push(S, 2);
    int top;
    GetTop(S, top);
    int x;
    Pop(S, x);
    Pop(S, x);
    printf("ListStack Top:%d\nPop:%d", top, x);
    if (StackEmpty(S))
        printf("\n栈空！");
    return 0;
}

